package com.zzyk.main.service;

import com.zzyk.main.model.pojo.MedicalReportMonth;

public interface MedicalReportMonthService {


    int deleteByPrimaryKey(Integer id);

    int insert(MedicalReportMonth record);

    int insertSelective(MedicalReportMonth record);

    MedicalReportMonth selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MedicalReportMonth record);

    int updateByPrimaryKey(MedicalReportMonth record);

    /**
     * 根据企业ID和传入月份查体检报告 默认查上月
     *
     * @param month
     * @param enterprise
     * @param deviceList
     * @return
     */
    MedicalReportMonth findMedicalReportByMonth(String month, Integer enterprise, Integer[] deviceList);
}



